package com.wanmait.employment.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.employment.entity.Publisher;

import java.util.List;


public interface PublisherService {
    PageInfo<Publisher>list(String publishername, Integer pageNum, Integer pageSize);
    Integer resetpasswords(Integer id,String password);
    Integer resetpic(Integer id,String resetpic);
    Integer update(Publisher publisher);
    Integer delete(Integer id);
    List<Publisher> searchList(Integer companyId);
    Integer register(Publisher publisher);
    Publisher login(Publisher publisher);

    void saveOrUpdate(Publisher publisher);
}
